<?php
$data=<<<Eof
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><resultObject><list><row><order_id>22088459598</order_id><statusCode>0</statusCode><errorCode>0</errorCode></row><row><order_id>22088459598</order_id><statusCode>0</statusCode><errorCode>0</errorCode></row><row><order_id>22088459598</order_id><statusCode>0</statusCode><errorCode>0</errorCode></row><row><order_id>22088459598</order_id><statusCode>0</statusCode><errorCode>0</errorCode></row><row><order_id>22088459598</order_id><statusCode>0</statusCode><errorCode>0</errorCode></row><row><order_id>22088459598</order_id><statusCode>0</statusCode><errorCode>0</errorCode></row></list><statusCode>0</statusCode><errorCode>0</errorCode></resultObject>
Eof;
$xml = simplexml_load_string($data); //创建 SimpleXML对象 
print_r($xml); //输出 XML 
